package com.myecl.poker.rules.enums;

public enum Rank {
	TWO(2, "2"), THREE(3, "3"), FOUR(4, "4"), FIVE(5, "5"), SIX(6, "6"), SEVEN(7, "7"), 
	EIGHT(8, "8"), NINE(9, "9"), TEN(10, "10"), JACK(11, "j"),
	QUEEN(12, "q"), KING(13, "k"), ACE(14, "a");
	
	private int rank;
	private String filename;
	
	 private Rank(int rank, String filename) {
		 this.rank = rank;
		 this.filename = filename;
	 }

	public int toInt() {
		return rank;
	}
	
	
	public String toFilename() {
		return filename;
	}
}


